package tmproject.hlhj.fhp.anwser.bean;

import java.util.List;

/**
 * Created by Never Fear   on 2018\8\27 0027.
 * Never More....
 */

public class PrizeBean {

    /**
     * code : 200
     * data : [{"id":1,"title":"11","pic":"/public/uploads/hlhj_prizeanswer/prize/2018-08-25/a55937574bdc6d4a3b13f244ac4c823d.png","probability":20,"type":"S"},{"id":2,"title":"22","pic":"\\uploads\\hlhj_prizeanswer\\prize\\2018-08-23\\78121e93e0e6ae0b443552daf229145c.jpg","probability":20,"type":"S"},{"id":3,"title":"33","pic":"\\uploads\\hlhj_prizeanswer\\prize\\2018-08-23\\8a7da3f7485aa9026408262621cd4884.jpg","probability":20,"type":"S"},{"id":4,"title":"44","pic":"\\uploads\\hlhj_prizeanswer\\prize\\2018-08-23\\5437722902a04ef91ad70d165e224911.jpg","probability":10,"type":"S"},{"id":5,"title":"55","pic":null,"probability":10,"type":"S"},{"id":6,"title":"66","pic":null,"probability":10,"type":"S"},{"id":7,"title":"77","pic":null,"probability":5,"type":"S"},{"id":8,"title":"88","pic":null,"probability":5,"type":"S"}]
     * msg : 成功
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * title : 11
         * pic : /public/uploads/hlhj_prizeanswer/prize/2018-08-25/a55937574bdc6d4a3b13f244ac4c823d.png
         * probability : 20
         * type : S
         */

        private int id;
        private String title;
        private String pic;
        private int probability;
        private String type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public int getProbability() {
            return probability;
        }

        public void setProbability(int probability) {
            this.probability = probability;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
